
import axios from 'axios'

const http={};

let Url='http://test.sangsang.xyz:8767/';

//http.userLogin=params=>axios.post(Url+'esp/logadmin',params).then(r=>r);
http.esp_upd=(params)=>axios.get(Url+'d/upd',params).then(r=>r);
http.esp_s=(params)=>axios.get(Url+'d/s1',params).then(r=>r);
http.dht_sel=(params)=>axios.get(Url+'dht/sel',params).then(r=>r);


export default http;